package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzeport.bgs22emduty.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("EMDU_PARAM_SMS_PEOPLE")
@ApiModel(value = "参数-短信接收人员配置表")
public class ParamSmsPeople extends BaseEntity {

    @ApiModelProperty(value = "短信ID：关联 参数-短信模板配置表 PARAM_SMS_TEMPLATE 主键ID")
    @TableField(value = "SMS_INFO_ID")
    @JsonProperty(value = "smsInfoId")
    private String smsInfoId;

    // todo: 枚举
    @ApiModelProperty(value = "人员类型")
    @TableField(value = "TYPE")
    @JsonProperty(value = "type")
    private String type;

    @ApiModelProperty(value = "接收人号码")
    @TableField(value = "SMS_RECEIVE")
    @JsonProperty(value = "smsReceive")
    private String smsReceive;

    @ApiModelProperty(value = "接收人工号")
    @TableField(value = "SMS_RECEIVER_NO")
    @JsonProperty(value = "SmsReceiverNo")
    private String SmsReceiverNo;

    @ApiModelProperty(value = "接收人姓名")
    @TableField(value = "SMS_RECEIVER_NAME")
    @JsonProperty(value = "smsReceiverName")
    private String smsReceiverName;

}
